home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 64
/
Volume 64 - JOGO DISK .iso
/
Games
/
skecthpad.swf
/
scripts
/
frame_35
/
PlaceObject2_428_121
/
CLIPACTIONRECORD onClipEvent(mouseDown).as
< prev
next >
Wrap
Text File
|
2008-04-25
|
2KB
|
59 lines
onClipEvent(mouseDown){
this.inner.play();
if(_X > 130 && _Y > 110 && _Y < 440 && _X < 680)
{
if(_root.activeitem == 1)
{
drawing = true;
_root.createEmptyMovieClip("drawline" + symbolnumber,symbolnumber);
with(_root["drawline" + symbolnumber])
{
moveTo(_root.pencil._x,_root.pencil._y);
}
}
if(_root.activeitem == 3)
{
lining = true;
start_line_x = _X;
start_line_y = _Y;
}
if(_root.activeitem == 4)
{
ereasing = true;
_root.createEmptyMovieClip("drawline" + symbolnumber,symbolnumber);
with(_root["drawline" + symbolnumber])
{
moveTo(_root.pencil._x,_root.pencil._y);
}
}
if(_root.activeitem == 5)
{
circposx = _root._xmouse;
circposy = _root._ymouse;
circstartx = circposx;
circstarty = circposy;
circelling = true;
}
if(_root.activeitem == 6)
{
circposx = _root._xmouse;
circposy = _root._ymouse;
circstartx = circposx;
circstarty = circposy;
circelling = true;
}
if(_root.activeitem == 7)
{
squaring = true;
start_line_x = _X;
start_line_y = _Y;
}
if(_root.activeitem == 8)
{
fillsquaring = true;
start_line_x = _X;
start_line_y = _Y;
}
}
}